package com.eva.framework.security.adapter;

import jakarta.servlet.http.HttpServletRequest;

/**
 * 接口文档适配器
 * 用于安全处理中所需的接口文档层面的验证
 */
public interface ApiDocAdapter {

    /**
     * 判断是否为来自接口文档的请求
     *
     * @param request HttpServletRequest
     * @return boolean
     */
    default boolean isApiDocRequest(HttpServletRequest request) {
        return Boolean.FALSE;
    };
}
